package com.bjsxt.ego.users.service;

import java.util.List;
import java.util.Map;

import com.alibaba.fastjson.JSONObject;
import com.bjsxt.ego.common.util.PageInfoUtil;
import com.bjsxt.ego.users.pojo.AAdmins;



public interface IUsersService {

	/**
	 * 添加一条管理员记录
	 * @param admins
	 * @return
	 */
	JSONObject saveOneAdminsService(AAdmins admins);

	/**
	 * 查询一条记录
	 * @param admins
	 * @return
	 */
	
	AAdmins findOneAdminsService(Map<String,Object> condMap);
	
	/**
	 * 查询多条记录
	 * @return
	 */
	List<AAdmins> findAdminsCondListService(PageInfoUtil pageInfoUtil,Map<String,Object> condMap);
	/**
	 * 更新一条记录
	 * @param admins
	 * @return
	 */
	JSONObject updateOneAdminsService(AAdmins admins);
	/**
	 * 
	 * @param admins
	 * @return
	 */
	JSONObject deleteOneAdminsService(AAdmins admins);
}
